package com.huazheng.miaosha.web.service.impl;

import com.huazheng.miaosha.web.controller.OrderController;
import com.huazheng.miaosha.web.dao.StockOrderDao;
import com.huazheng.miaosha.web.entity.StockOrderEntity;
import com.huazheng.miaosha.web.service.StockOrderService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service("stockOrderService")
public class StockOrderServiceImpl  implements StockOrderService {
    private static final Logger LOGGER = LoggerFactory.getLogger(StockOrderServiceImpl.class);

    @Resource
    private StockOrderDao stockOrderDao;

    @Override
    public int insertSelective(StockOrderEntity record) {
        return stockOrderDao.insertSelective(record);
    }

}
